#include "StdAfx.h"
#include "Scene.h"
#include "XMLLoader.h"

CScene::CScene(void)
{
}


CScene::~CScene(void)
{
}

void CScene::Init(const string& strXMLFileName)
{
	XMLLoader::LoadScene(strXMLFileName, m_vGeometries, m_vCameras, m_vLights);

	m_KdTree.Build(m_vGeometries);
}